package com.xzh.springCloud;

import com.xzh.springCloud.config.RibbonRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @Author: zhiHong
 * @CreateTime: 2023-08-24 20:07
 * @Description: 主程序类
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "RibbonClient", configuration = RibbonRule.class)
public class MemberConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(MemberConsumerApplication.class, args);
    }
}
